//
//  HMDemoViewController.swift
//  sina
//
//  Created by 崔正强 on 17/3/20.
//  Copyright © 2017年 崔正强. All rights reserved.
//

import UIKit

class HMDemoViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        navigationItem.backBarButtonItem = UIBarButtonItem(imageName: "navigationbar_back_withtext", target: self, action:  #selector(back))
    }

    
    
    @objc private func back() {
        
        let _ = navigationController?.popViewController(animated: true)
        
    }

    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
